﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DomainModel.Entities;

namespace DomainModel.Abstract
{
    // Interface for the ApplicantProgress section of the database.
    // This is the top level of the DAL.
    public interface IApplicantsProgressRepository
    {
        // Linq interface for ApplicantProgress repositroy.
        IQueryable<ApplicantProgress> ApplicantsProgress { get; }
        // Save an applicants progress to the ApplicantProgress repositroy.
        void SaveApplicantProgress(ApplicantProgress applicantProgress);
        // Delete an applicants progress from the ApplicantProgress repository.
        void DeleteApplicantProgress(ApplicantProgress applicantProgress);
        // Update the data context.
        bool Save();
    }
}